#ifndef MSTP_CONNECT_H
#define MSTP_CONNECT_H


#include <sys/types.h>

#pragma pack(1)

#define ACK 0x02
#define CNT 0x03


typedef struct {
    u_int32_t addr;
    u_int16_t port;
    u_int8_t  streams;
} ack_t;

typedef struct {
    u_int8_t streams;
} cnt_t;


typedef struct {
    u_int8_t  msg_type;
    union {
	ack_t ack;
	cnt_t cnt;
    } msg_body;   
} mstp_proto_t;


#endif
